package top.zk123.chain.mapper;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import top.zk123.chain.bean.Institution;


public interface InstitutionMapper extends JpaRepository<Institution, String> {
    @Query(value = "select * from institution where institution_id = :institutionId", nativeQuery = true)
    Institution findByInstitutionId(String institutionId);
}
